package com.working.libcommon.exts

import android.widget.Toast
import androidx.annotation.StringRes
import com.working.libcommon.helper.AndroidHelper

fun toast(message: String) {
    showToast(message)
}

fun toast(@StringRes message: Int) {
    showToast(message.getString())
}

private fun showToast(message: String) {
    Toast.makeText(AndroidHelper.application, message, Toast.LENGTH_SHORT).show()
}